import * as VueRouter from "vue-router";

const routes = [{
        path: '/',
        name: 'index',
        component: () => import('@/pages/index.vue')
    },
    {
        path: '/noticeList/:bidingId',
        name: 'notice',
        component: () => import('@/pages/noticeList.vue')
    },
    {
        path: '/noticeList2/:bidingId',
        name: 'notice2',
        component: () => import('@/pages/noticeList2.vue')
    },
    {
        path: '/noticeList3/:bidingId',
        name: 'notice3',
        component: () => import('@/pages/noticeList3.vue')
    },
    {
        path: '/noticeList4/:bidingId',
        name: 'notice4',
        component: () => import('@/pages/noticeList4.vue')
    },
    {
        path: '/newList',
        name: 'newList',
        component: () => import('@/pages/newList.vue')
    },
    {
        path: '/bulletinList',
        name: 'bulletinList',
        component: () => import('@/pages/bulletinList.vue')
    },
    {
        path: '/bulletinList2',
        name: 'bulletinList2',
        component: () => import('@/pages/bulletinList2.vue')
    },
    {
        path: '/bulletinList3',
        name: 'bulletinList3',
        component: () => import('@/pages/bulletinList3.vue')
    },
    {
        path: '/bulletinList4',
        name: 'bulletinList4',
        component: () => import('@/pages/bulletinList4.vue')
    },
    {
        path: '/list',
        name: 'list',
        component: () => import('@/pages/list.vue')
    },
];

const router = VueRouter.createRouter({
    history: VueRouter.createWebHashHistory(),
    routes,
});

export {
    router
};
